<?php

/**
 * @author nguyendu
 * @copyright 2011
 */
abstract class DataBase_Abstract
{
    abstract function connect();
    abstract function getField($numfield,$resource);
    abstract function executeQuery1($query);
    abstract function numRows();
    abstract function starTransaction();
    abstract function rollBackTransaction();
    abstract function commitTransaction();
    abstract function closeConnection();
    abstract function getLastId();
    abstract function InsertQuery($tableName,$paramInsert=array(),$valueInsert=array());
    abstract function SelectQueryWithoutWhere($tableName,$rowStar,$rowEnd);
}
?>